
package com.fitns.user.dao.baseConfig;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.fitns.user.dto.baseConfig.TbPersonLederDTO;
import com.fitns.user.dto.baseConfig.TbPersonLederVO;
//import com.fitns.user.model.baseConfig.TbPersonLedger;
//import com.fitns.user.model.baseConfig.TbPersonLedger;
//import com.fitns.user.dto.TbPersonLederDTO;
import com.fitns.user.mapper.baseConfig.TbPersonLedgerMapper;
//import com.fitns.user.vo.TbPersonLederVO;
//import com.fitns.user.model.baseConfig.TbPersonLedger;
import com.fitns.user.model.baseConfig.TbPersonLedger;

@Mapper
//public interface TbPersonLederDao extends TbPersonLedgerMapper{
public interface TbPersonLederDao extends TbPersonLedgerMapper{

	/** 查看人员台账  */
	//List<TbPersonLederVO> selectPersonLeder(TbPersonLederDTO tbPersonLederDTO);
	List<TbPersonLederVO> selectPersonLeder(TbPersonLederDTO tbPersonLederDTO/*,TbPersonLeder tbPersonLeder*/);
	
	/**exclue文件导入  */
	void inserts(TbPersonLedger tbPersonLedger);
	
	
	/**exclue文件导出  */
	List<TbPersonLedger> searchForExport(TbPersonLederDTO tbPersonLederDTO);

	TbPersonLedger searchByTell(String phone);
	
	
	/**删除人员台账 */
	int deletePersonById(long id);
	
    /**
     * 通过phone查询id
     * @param phone
     * @return
     */
	/*TbPersonLedger selectByPhone(String phone);*/
	
	 /**
    *
    * 根据id查询该id所有信息
    *
    * */
	TbPersonLedger selectPersonLederById(long id);
	
}
